arm/early-printk: allow skipping of UART init
authorAndre Przywara <andre.przywara@calxeda.com>
Fri, 24 May 2013 13:47:27 +0000 (15:47 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 30 May 2013 08:20:29 +0000 (09:20 +0100)
commit130645eee340608c12b632535d3f983508348ba1
tree21797a241726ed079f4bdc8d06aac587ccef5138
parentb68346247f74e002ef180403167888a03f488080
arm/early-printk: allow skipping of UART init

While it seems obvious to initialize the UART before using it, chances
are that some firmware code or the bootloader already did this.
So it may actually be a good idea to skip the initialization, in fact
this fixes early printk on my TC2 Versatile Express.
So provide an option in xen/arch/arm/Rules.mk to only initialize the
UART when needed.

Signed-off-by: Andre Przywara <andre.przywara@calxeda.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
docs/misc/arm/early-printk.txt
xen/arch/arm/Rules.mk
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S